package com.zdya.combatdocuments.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class AuthorizationVo {
    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "mac地址")
    private String mac;

    @ApiModelProperty(value = "电话")
    private String tel;

    @ApiModelProperty(value = "要素")
    private String element;

    @ApiModelProperty(value = "席位")
    private String seat;

    @ApiModelProperty(value = "授权者mac地址")
    private String authorMac;

    @ApiModelProperty(value = "被授权者ip")
    private String ip;

    private String address;

    private String keystore;

    @ApiModelProperty(value = "公钥")
    private String publicKey;

    @ApiModelProperty(value = "私钥")
    private String privateKey;

    @ApiModelProperty(value = "Cpu序列号")
    private String cpu;

    @ApiModelProperty(value = "过期时间")
    private LocalDate expirationTime;

    @ApiModelProperty(value = "授权状态:0-已授权;1-待授权")
    private Long authorizeStatus;

    @ApiModelProperty(value = "授权来源:0-授权方信息;1-申请方信息")
    private Long authorizeSource;

    private String primaryIp;
}
